package com.travel.service.impl;

import com.travel.entity.vo.ForumVo;
import com.travel.mapper.ForumVoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:Jasenon_ce
 * Date: 2025.04.19/下午4:36
 */
@Service
@Slf4j
public class ForumVoService {

    @Autowired
    private ForumVoMapper forumVoMapper;

    public List<ForumVo> getAllArticle(){
        log.info("获取所有文章");
        return forumVoMapper.getAllArticle();
    }

}
